#pragma once

#include <iostream>

class Company {
public:
	virtual void working() = 0;
};

class HugeCompany : public Company {
public:
	void working() {
		std::cout << " from HugeCompany" << std::endl;
	}
};

class MiddleCompany : public Company {
public:
	void working() {
		std::cout << " from MiddleCompany" << std::endl;	
	}
};

class MinorCompany : public Company {
public:
	void working() {
		std::cout << " from MinorCompany" << std::endl;
	}
};